package com.itheima.dubbo.interfaces;

import com.itheima.commons.pojo.domain.HuanxinUser;

/**
 * @author yaohu
 * @date 2021/12/11
 * @Version 1.0
 * @describe
 */
public interface HuanxinUserApi {

    /**
     * 新建环信用户
     *
     * @param huanxinUser
     */
    void addUser(HuanxinUser huanxinUser);

    /**
     * 根据userId 查询环信用户信息
     * @param userId
     * @return
     */
    HuanxinUser findHXUserByUserId(Long userId);
}
